<template>
  <component
    :is="getComponent(column.type)"
    :column="column"
    :value="text"
    :text="text"
    @change="textChange">
  </component>
</template>

<script>
import { getComponent } from "../../dataformat"

export default {
  name: "formTemp",
  data() {
    return{
    }
  },
  props: ['column','text'],
  mounted() {
  },
  methods: {
    getComponent,
    textChange(val) {
      this.$emit("update:text", val)
    }
  }
}
</script>

<style lang="scss" scoped>


</style>
